let ids = lib.eachId();
if(ids && ids.length > 0){ 
     let type = lib.dbQueryJsonArray(`SELECT
          is_pick isPick 
            FROM
       fba_invoice ao
       WHERE
        ao.id = ? 
        AND ao.del_flag = 0`,ids[0]);
   if(type[0].isPick == "0"){
       lib.addUserMessage("未拣货不能发货");
   }else if(type[0].isPick == "1"){
      //lib.serviceInvoke("FBAInvoiceServiceImpl","shippingOut",ids[0]); 
      lib.serviceInvoke("FBAInvoicePushStockOut","runV2",ids);
    //lib.serviceInvoke("lingXingInterfaceServiceImpl","InboundShipmentSendGoods",ids[0]);
   }

   

}
